#include "Poller.h"
#include "EpollPoller.h"
//#include "PollPoller.h"
//#include "EpollPoller.h"

#include <cstdlib>

Poller* Poller::newDefaultPoller(EventLoop* loop)
{
	if (::getenv("MUDUO_USE_POLL"))
	{
		//add code..
		return nullptr;
	}
	else
	{
		//add code...
		return new EpollPoller(loop);
	}
}
